package com.fanfan.demo.controller;

import com.fanfan.demo.response.BaseResponse;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: fanfan
 * @Date: 2019/4/14 12:07
 * @description: 1.0
 */
@RestController
@RequestMapping("/test")
public class TestController {

    @RequestMapping("/test")
    public BaseResponse test(){
        return BaseResponse.TSuccess(1);
    }
}
